package com.qisu.enums;


/**
 * 站点工作状态：离线、故障、告警、空闲、充电中、充电完成、预约、等待、签到、交换密钥
 *
 * @author alsan
 *
 */
public enum ShowState implements DescriptiveEnum<String> {
	// @formatter:off
	Offline("00", "离线"),
	Failure("01", "故障"),
	Warning("02", "告警"),
	Available("03", "空闲"),
	Charging("04", "充电中"),
	ChargeCompleted("05", "充电完成"),
	Booked("06", "预约"),
	Connected("07", "已插枪"),
	Signing("08", "签到"),
	pkiExchange("09", "交换密钥"),
	WaitingForConnection("03", "空闲");
	// @formatter:on

	private String state;
	private String _desc;

	private ShowState(String val, String desc) {
		state = val;
		_desc = desc;
	}

	@Override
	public String getValue() {
		return state;
	}

	@Override
	public String getDescription() {
		return _desc;
	}
}
